package com.sina.shop.manage.dao.collect;

import com.sina.shop.core.BaseDao;
import com.sina.shop.domain.collect.CollectBusiness;
import com.sina.shop.domain.collect.CollectGoods;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * 段浩杰   2018-01-16-9:25
 */
public interface CollectGoodsManageDao extends BaseDao {

    int deleteCollectGoods(Long id);

    List<Map<String, Object>> getCollectGoodsList(CollectGoods collectGoods);

    Long getCollectGoodsCount(CollectGoods collectGoods);

    CollectGoods getCollectGoodsByAidAndGid(Long aid, Long gid);
}
